package com.guigu.aclservice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: janecraft
 * @Date: 2022/6/1
 * @Description: com.guigu.aclservice.entity
 * @Version： 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("acl_user")
public class User {
    @TableId(type = IdType.ID_WORKER_STR)
    private String id;

    private String username;
    private String password;

    @TableField("nick_name")
    private String nickName;

    // 令牌
    private String token;
}
